<?
$action = new Action();
class Action
{
	function Action()
	{
		global $gSmarty,$gAct,$gWeb,$INCOME;
		session_destroy();
	 
		if($INCOME['src']=="m")
		{
			$gWeb->redirect("mobile/index.html");exit;
		}
		else
		{
			$gWeb->redirect("?act=login");
		}
	}
}
?>